const Mock = require('mockjs');
const _    = require('lodash');

module.exports = function(){
    return {
        people:_.times(100,function(n){
            return {
                id  : n,
                name: Mock.Random.cname(),
                img : Mock.Random.image('200x100', Mock.Random.color()),
                text: Mock.Random.cparagraph(),
                time: Mock.Random.date('yyyy-MM-dd'),
                price: Mock.mock({
                    'number|1-100': 100
                })
                
            }
        }),
        product:_.times(100,function(n){
            return {
                id   : n,
                name : Mock.Random.cname(),
                img  : Mock.Random.image('200x100', Mock.Random.color()),
                text : Mock.Random.cparagraph(),
                time : Mock.Random.date('yyyy-MM-dd'),
                price: Mock.mock({
                    'number|1-100':100
                })
            }
        }),
        carousel:[
            {
                id: 1,
                name: "夏季新款ins很仙小清新碎花连衣裙",
                img: ["https://img.alicdn.com/imgextra/i3/1770528988/O1CN01HJUpC22GGYLgIMIXB-1770528988.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i3/1770528988/O1CN01a8zGah2GGYLdi1DC7-1770528988.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i3/1770528988/O1CN01Zc0jAI2GGYLhSru0G-1770528988.jpg_430x430q90.jpg'],
                text: "荷叶边裙摆，V领设计",
                time: "2011-09-25",
                price: 9999
            },
                {
                    id: 2,
                    name: "2019新款裙子夏连衣裙",
                    img: ["https://img.alicdn.com/imgextra/i3/2200653783028/O1CN01DsEbiE1YErmf3WMBA_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i3/2200653783028/O1CN01Upn1pr1YErmf3UD2x_!!2200653783028.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i4/2200653783028/O1CN011MGHkZ1YErmWUS7KN_!!2200653783028.jpg_430x430q90.jpg'],
                    text: "2019夏季新款",
                    time: "2011-09-25",
                    price:2554
                },

                {
                    id: 3,
                    name: "牛仔背带裙及踝长裙女学生夏宽松",
                    img: ["https://img.alicdn.com/imgextra/i2/3697001418/TB2aO_1s4SYBuNjSspjXXX73VXa_!!3697001418-0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i3/3697001418/TB2XZbGs1uSBuNjSsziXXbq8pXa_!!3697001418.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i4/3697001418/TB2.JzZs4SYBuNjSspjXXX73VXa_!!3697001418.jpg_430x430q90.jpg'],
                    text: "袖长: 无袖",
                    time: "2011-09-25",
                    price: 2546
                },
                {
                    id: 4,
                    name: "海边度假装一字肩裙子夏连衣裙",
                    img: ["https://img.alicdn.com/imgextra/i2/2200653783028/O1CN01Yl4Xic1YErmf3esrp_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i1/2200653783028/O1CN01FZkK1w1YErmdxtbbL_!!2200653783028.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i1/2200653783028/O1CN01FU7U5p1YErmdxu4dn_!!2200653783028.jpg_430x430q90.jpg'],
                    text: "海边度假装一字肩裙子夏连衣裙",
                    time: "2011-09-25",
                    price:9999
                },
                    {
                        id: 5,
                        name: "法式复古山本小清新长裙学生森系",
                        img: ["https://img.alicdn.com/imgextra/i3/3697691273/O1CN01xfzVlB1LH4hZlotfJ_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i2/3697691273/O1CN01trkZPC1LH4hgqfwDx_!!3697691273.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i3/3697691273/O1CN01sIhAgR1LH4heH7XZP_!!3697691273.jpg_430x430q90.jpg'],
                        text: "法式复古山本小清新长裙学生森系",
                        time: "2011-09-25",
                        price: 9999
                    },

                        {
                            id: 6,
                            name: "夏季连衣裙仙女超仙甜美森系学生法国",
                            img: ["https://img.alicdn.com/imgextra/i1/3397005265/O1CN01q6ts8u1olPmwiUxcM_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i2/3397005265/O1CN01d08CRB1olPmwiMyFx_!!3397005265.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i1/3397005265/O1CN01VOxQMW1olPmyogLSC_!!3397005265.jpg_430x430q90.jpg'],
                            text: "夏季连衣裙仙女超仙甜美森系学生法国",
                            time: "2011-09-25",
                            price:9999
                        }, 
                            {
                                id: 7,
                                name: "仙气高腰裙子女夏季2019新款",
                                img: ["https://img.alicdn.com/imgextra/i2/1720953605/O1CN01a6gFi31cV8JTcwKwq_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i4/1720953605/TB2k3O6plmWBuNkSndVXXcsApXa_!!1720953605.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i2/1720953605/TB2a7k7xASWBuNjSszdXXbeSpXa_!!1720953605.jpg_430x430q90.jpg'],
                                text: "仙气高腰裙子女夏季2019新款",
                                time: "2011-09-25",
                                price:9999
                            }, 
                                {
                                    id: 8,
                                    name: "连衣裙女夏仙学生显瘦小清新韩版开叉",
                                    img: ["https://img.alicdn.com/imgextra/i3/3107963978/O1CN01pGuDDM1fFy3xTQr8d_!!3107963978.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i1/3107963978/O1CN01XLWSIa1fFy3tgfbvf_!!3107963978.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i3/3107963978/O1CN01KH40VM1fFy3xC2Gyl_!!3107963978.jpg_430x430q90.jpg'],
                                    text: "连衣裙女夏仙学生显瘦小清新韩版开叉",
                                    time: "2011-09-25",
                                    price:9999
                                },   
                                    {
                                        id: 9,
                                        name: "法式复古收腰超仙两件套装海边度假",
                                        img: ["https://img.alicdn.com/imgextra/i3/3590144573/O1CN01vJ0PZF1jeThhaAVm0_!!0-item_pic.jpg_430x430q90.jpg",'https://img.alicdn.com/imgextra/i2/3590144573/O1CN01Bgs4mQ1jeTiVjhXEU_!!3590144573.jpg_430x430q90.jpg','https://img.alicdn.com/imgextra/i3/3590144573/O1CN01ootXQk1jeThfLi0eR_!!3590144573.jpg_430x430q90.jpg'],
                                        text: "法式复古收腰超仙两件套装海边度假",
                                        time: "2011-09-25",
                                        price:9999
                                     }  
        ]
    }
}
